FROM registry.cn-hangzhou.aliyuncs.com/zhengqing/rabbitmq:3.9.1-management

MAINTAINER song

# 添加插件到指定目录，可按照此方式自行扩展其他插件
ADD ./plugins/rabbitmq_delayed_message_exchange-3.9.0.ez /opt/rabbitmq/plugins/

# 开启插件
RUN rabbitmq-plugins enable rabbitmq_delayed_message_exchange

#ENTRYPOINT ["rabbitmq-server", "restart"]
